package com.acmen.demo.dto.query;

import com.acmen.easyapi.annotation.ReqParam;

/**
 * 用户查询对象
 *
 * @author acmen
 */
public class UserListQry  {
    /**
     * 用户ID
     */
    @ReqParam(label = "用户ID")
    private Long id;

    /**
     * 部门ID
     */
    @ReqParam(label = "部门ID")
    private Long deptId;

    /**
     * 用户账号
     */
    @ReqParam(label = "用户账号")
    private String account;

    /**
     * 用户名称
     */
    @ReqParam(label = "用户名称")
    private String name;

    /**
     * 用户邮箱
     */
    @ReqParam(label = "用户邮箱")
    private String email;

    /**
     * 手机号码
     */
    @ReqParam(label = "手机号码")
    private String mobile;

    /**
     * 用户性别
     */
    @ReqParam(label = "用户性别")
    private String sex;

    /**
     * 帐号状态（1正常 0停用）
     */
    @ReqParam(label = "帐号状态",note = "1正常 0停用")
    private String status;


    public UserListQry() {

    }

    public UserListQry(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public UserListQry setId(Long id) {
        this.id = id;
        return this;
    }


    public Long getDeptId() {
        return deptId;
    }

    public UserListQry setDeptId(Long deptId) {
        this.deptId = deptId;
        return this;
    }

    public String getAccount() {
        return account;
    }

    public UserListQry setAccount(String account) {
        this.account = account;
        return this;
    }

    public String getName() {
        return name;
    }

    public UserListQry setName(String name) {
        this.name = name;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public UserListQry setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public UserListQry setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public UserListQry setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public UserListQry setStatus(String status) {
        this.status = status;
        return this;
    }
}
